package com.bjsxt.chapter3_builder;

/**
 * @ClassName SxtAirShipBilder
 * @Description 尚学堂牌宇宙飞船构建器
 * @Author 黑马程序员
 * @Date 18:11 2024/6/20
 * @Version 1.0
 **/
public class SxtAirShipBilder implements AirShipBuilder{
    @Override
    public Engine builderEngine() {
        System.out.println("构建发动机!");
        return new Engine("尚学堂牌发动机");
    }

    @Override
    public OrbitalModule builderOrbitalModule() {
        System.out.println("构建轨道舱!");
        return new OrbitalModule("尚学堂牌轨道舱");
    }

    @Override
    public EscapeTower builderEscapeTower() {
        System.out.println("构建逃逸塔!");
        return new EscapeTower("尚学堂牌逃逸塔");
    }
}
